package com.hnkywl.sts.entity.flow;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 * User: jerry
 * Date: 13-6-16
 * Time: 下午1:20
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "T_BIZ_LCPZ")
@Where(clause = "deleted!='1'")
public class FlowConfigure extends BaseEntity {
    @Id
    @SequenceGenerator(name = "seqFlowConfugure", allocationSize = 1, sequenceName = "SEQ_BIZ_LCPZ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqFlowConfugure")
    private Long id;


    private String flowName;

    private Boolean flowStart = true;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public Boolean getFlowStart() {
        return flowStart;
    }

    public void setFlowStart(Boolean flowStart) {
        this.flowStart = flowStart;
    }
}
